package Interface;

public class Dog1 extends Animal1 implements Swim{
    public Dog1(){}

    public Dog1(String name , int age){
        super(name,age);
    }

    @Override
    public void eat(){
        System.out.println("吃骨头");
    }

    @Override
    public void swim() {
        System.out.println("狗在狗刨");
    }
}
